﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Dynamics.BusinessConnectorNet;

namespace PJ.Framework.DynamicsAX.AxClass
{
    public sealed class PJServiceCustomer : AbstractAxClass
    {
        internal PJServiceCustomer(AxaptaObject axObject)
            : base(axObject)
        {
        }


        public static AxaptaContainer findCustomer(string CustAccount)
        {
            return (AxaptaContainer)AxConnection.Instance.StaticMethod(GetClassName(), "findCustomer", CustAccount);
        }


        private static string GetClassName()
        {
            return "PJServiceCustomer";
        }
    }
}
